package com.study.design.prototype;

import lombok.extern.slf4j.Slf4j;


/**
 * @version V1.0
 * @title: Prototype
 * @description: 原型类
 * @author: wanghuilong
 * @date: 2019-04-09 22:01
 * @copyright: http://fingo.com.my/
 */
@Slf4j
public abstract class Prototype {
    private String id;

    public Prototype(String id) {
        log.info("addLogStart Prototype InputParam: id : {} ", id);
        this.id = id;
    }

    public String getId() {
        log.info("addLogStart getId InputParam: ");

        return id;
    }

    public abstract Prototype clone();
}
